<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>

<h3>返回商户页面</h3>

<!--<%&#45;&#45;<%&#45;&#45;%>-->
<!--<%&#45;&#45;	/* *&#45;&#45;%>-->
<!--<%&#45;&#45;	 * 功能：支付宝服务器同步通知页面&#45;&#45;%>-->
<!--<%&#45;&#45;	 * 日期：2017-03-30&#45;&#45;%>-->
<!--<%&#45;&#45;	 * 说明：&#45;&#45;%>-->
<!--<%&#45;&#45;	 * 以下代码只是为了方便商户测试而提供的样例代码，商户可以根据自己网站的需要，按照技术文档编写,并非一定要使用该代码。&#45;&#45;%>-->
<!--<%&#45;&#45;	 * 该代码仅供学习和研究支付宝接口使用，只是提供一个参考。&#45;&#45;%>-->


<!--<%&#45;&#45;	 *************************页面功能说明*************************&#45;&#45;%>-->
<!--<%&#45;&#45;	 * 该页面仅做页面展示，业务逻辑处理请勿在该页面执行&#45;&#45;%>-->
<!--<%&#45;&#45;	 */&#45;&#45;%>-->

<!--<%&#45;&#45;	//获取支付宝GET过来反馈信息&#45;&#45;%>-->
<!--<%&#45;&#45;	Map<String,String> params = new HashMap<String,String>();&#45;&#45;%>-->
<!--<%&#45;&#45;	Map<String,String[]> requestParams = request.getParameterMap();&#45;&#45;%>-->
<!--<%&#45;&#45;	for (Iterator<String> iter = requestParams.keySet().iterator(); iter.hasNext();) {&#45;&#45;%>-->
<!--<%&#45;&#45;		String name = (String) iter.next();&#45;&#45;%>-->
<!--<%&#45;&#45;		String[] values = (String[]) requestParams.get(name);&#45;&#45;%>-->
<!--<%&#45;&#45;		String valueStr = "";&#45;&#45;%>-->
<!--<%&#45;&#45;		for (int i = 0; i < values.length; i++) {&#45;&#45;%>-->
<!--<%&#45;&#45;			valueStr = (i == values.length - 1) ? valueStr + values[i]&#45;&#45;%>-->
<!--<%&#45;&#45;					: valueStr + values[i] + ",";&#45;&#45;%>-->
<!--<%&#45;&#45;		}&#45;&#45;%>-->
<!--<%&#45;&#45;		//乱码解决，这段代码在出现乱码时使用&#45;&#45;%>-->
<!--<%&#45;&#45;		valueStr = new String(valueStr.getBytes("ISO-8859-1"), "utf-8");&#45;&#45;%>-->
<!--<%&#45;&#45;		params.put(name, valueStr);&#45;&#45;%>-->
<!--<%&#45;&#45;	}&#45;&#45;%>-->

<!--<%&#45;&#45;	boolean signVerified = AlipaySignature.rsaCheckV1(params, AlipayConfig.alipay_public_key, AlipayConfig.charset, AlipayConfig.sign_type); //调用SDK验证签名&#45;&#45;%>-->

<!--<%&#45;&#45;	//——请在这里编写您的程序（以下代码仅作参考）——&#45;&#45;%>-->
<!--<%&#45;&#45;	if(signVerified) {&#45;&#45;%>-->
<!--<%&#45;&#45;		//商户订单号&#45;&#45;%>-->
<!--<%&#45;&#45;		String out_trade_no = new String(request.getParameter("out_trade_no").getBytes("ISO-8859-1"),"UTF-8");&#45;&#45;%>-->

<!--<%&#45;&#45;		//支付宝交易号&#45;&#45;%>-->
<!--<%&#45;&#45;		String trade_no = new String(request.getParameter("trade_no").getBytes("ISO-8859-1"),"UTF-8");&#45;&#45;%>-->

<!--<%&#45;&#45;		//付款金额&#45;&#45;%>-->
<!--<%&#45;&#45;		String total_amount = new String(request.getParameter("total_amount").getBytes("ISO-8859-1"),"UTF-8");&#45;&#45;%>-->

<!--<%&#45;&#45;		out.println("trade_no:"+trade_no+"<br/>out_trade_no:"+out_trade_no+"<br/>total_amount:"+total_amount);&#45;&#45;%>-->
<!--<%&#45;&#45;	}else {&#45;&#45;%>-->
<!--<%&#45;&#45;		out.println("验签失败");&#45;&#45;%>-->
<!--<%&#45;&#45;	}&#45;&#45;%>-->
<!--<%&#45;&#45;	//——请在这里编写您的程序（以上代码仅作参考）——&#45;&#45;%>-->
<!--<%&#45;&#45;%>&#45;&#45;%>-->
</body>
</html>